package k.aicodeback.controller;

import k.aicodeback.common.BaseResponse;
import k.aicodeback.common.ResultUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("health")
public class HealthController {
    @GetMapping("/ok")
    public BaseResponse<String> health(){
        return ResultUtils.success("ok");
    }
}
